package com.itheima.file;

import java.io.File;

public class Demo01 {

    public static void main(String[] args) {
        //将  字符串 描述成一个 对象

        //E:\30期就业班\day12_IO流01\笔记\day12\IO流01.md
        File file = new File("E:\\30期就业班\\day12_IO流01\\笔记\\day12\\IO流01.md");
        //E:\30期就业班\day12_IO流01\笔记\day12               IO流01.md
        File file1 = new File("E:\\30期就业班\\day12_IO流01\\笔记\\day12", "IO流01.md ");

        //E:\30期就业班\day12_IO流01\笔记\day12               IO流01.md
        File file2 = new File("E:\\30期就业班\\day12_IO流01\\笔记\\day12");
        File file3 = new File(file2, "IO流01.md ");
        System.out.println(file);
        System.out.println(file1);
        System.out.println(file3 );
    }
}
